package com.ck.listen;

import com.ck.listen.canal.CanalClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @author ck
 * @date 2024/6/25 11:33
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class DataListenApplicationDemo implements CommandLineRunner {
    @Autowired
    private CanalClient canalClient;

    public static void main(String[] args) {
        SpringApplication.run(DataListenApplicationDemo.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
//        canalClient.run();
    }
}
